package com.example.manager.mapper;


import com.example.common.Ov.BorrowOv;
import com.example.common.base.BaseMapper;
import com.example.common.pojo.Borrow;

import java.util.List;

public interface BorrowMapper extends BaseMapper<Borrow> {

    @Override
    int deleteByPrimaryKey(Integer id);

    @Override
    int insert(Borrow borrow);

    @Override
    int insertSelective(Borrow borrow);

    @Override
    Borrow selectByPrimaryKey(Integer id);

    @Override
    int updateByPrimaryKeySelective(Borrow borrow);

    @Override
    int updateByPrimaryKey(Borrow borrow);

    //查询所有
    List<BorrowOv> getAllList();

    //高级检索所有列表
    List<BorrowOv> superSearch(String superSearchKeyWord);
}
